Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gflags dependency & misc #776

Merged
merged 8 commits into from
Jul 24, 2014
Merged

Gflags dependency & misc #776

merged 8 commits into from
Jul 24, 2014

Conversation

Yangqing
Copy link
Member

Adding gflags dependency. tools consolidation to follow separately.

Also, changed the behavior of device query: they now output to LOG(INFO) to be consistent with other logs.

It might be the case that travis does not pass - I'll check the travis script and make it right (not a travis expert).

@Yangqing
Copy link
Member Author

Adding gflags travis script... hope this time it passes.

@Yangqing
Copy link
Member Author

Oh well, linker complains about gflags not compiled with -fPIC:

/usr/bin/ld: /usr/local/lib/libgflags.a(gflags.cc.o): relocation R_X86_64_32S against `std::basic_string<char, std::char_traits, std::allocator >::_Rep::_S_empty_rep_storage' can not be used when making a shared object; recompile with -fPIC

Will check later when I get off work today.

@Yangqing
Copy link
Member Author

Passed! @shelhamer @jeffdonahue if you don't object, I'll merge :)

@jeffdonahue
Copy link
Contributor

LGTM

Yangqing added a commit that referenced this pull request Jul 24, 2014
Gflags dependency & misc
@Yangqing Yangqing merged commit f80911f into BVLC:dev Jul 24, 2014
cmake ..
make && make install

Note that glog does not compile with the most recent gflags version (2.1), so before that is solved you will need to build with gflags first. Also note that if you have newer versions of Ubuntu, like 13.04 or 14.04, gflags may be available under apt-get.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be glog first, right? I edited in fdb1903.

mitmul pushed a commit to mitmul/caffe that referenced this pull request Sep 30, 2014
RazvanRanca pushed a commit to RazvanRanca/caffe that referenced this pull request Nov 4, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants